const path = require("path");
var HtmlWebpackPlugin = require("html-webpack-plugin");
var webpack = require("webpack");
var globalConfig = require("./globalConfig.json");
var baseModule = require("./baseModule.js");
var platformConfig = require("./platformConfig.js");

var config = baseModule;

var appConfig = Object.assign({}, config, platformConfig.appConfig);
var omsConfig = Object.assign({}, config, platformConfig.omsConfig);
var pmConfig = Object.assign({}, config, platformConfig.pmConfig);
var spConfig = Object.assign({}, config, platformConfig.spConfig);
var hmsConfig = Object.assign({}, config, platformConfig.hmsConfig);
// Return Array of Configurations
module.exports = [appConfig, omsConfig, pmConfig, spConfig, hmsConfig];

